package com.letoken.platform.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.letoken.platform.pub.req.PageData;
import com.letoken.platform.pub.req.QueryReqBase;
import com.letoken.platform.repo.admin.req.blockchain.AddBlockchainReq;
import com.letoken.platform.repo.admin.req.blockchain.DeleteBlockchainReq;
import com.letoken.platform.repo.admin.req.blockchain.UpdateBlockchainReq;
import com.letoken.platform.repo.admin.res.blockchain.QueryBlockchainListRes;
import com.letoken.platform.repo.app.po.Blockchain;
import org.springframework.web.multipart.MultipartFile;

/**
 * @author wyl
 * @Description TODO
 * @date 2023/4/18 11:06
 * @Version 1.0
 */
public interface BlockchainService extends IService<Blockchain> {
    PageData<QueryBlockchainListRes> queryBlockchainList(QueryReqBase req);

    void addBlockchain(AddBlockchainReq req);

    void updateBlockchain(UpdateBlockchainReq req);

    void deleteBlockchain(DeleteBlockchainReq req);

    QueryBlockchainListRes queryBlockchainById(Integer id);

    String uploadLogo(MultipartFile file);
}
